package com.example.mapper;

import com.example.model.SDUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author leiliang
 * @version 1.0
 * @Description
 * @date 2022/6/6 16:48
 */
@Mapper
public interface DatabaseTableMapper {

    int insertDatabaseUser(SDUser user);

    int deleteDatabaseUserById(Long id);

    int updateDatabaseUserById(@Param("id") Long id, @Param("name") String name);

    List<SDUser> listAllDatabaseUser();

  /*  int insertDatabaseAccount(Account account);

    int deleteDatabaseAccountById(Long id);

    int updateDatabaseAccountById(@Param("id") Long id, @Param("userName") String userName);

    List<Account> listAllDatabaseAccount();*/

}
